/**
 * Created by Thyiad on 2018/9/10 0010.
 */
const UNKONOW="unknown_attr"

export let searchConfig={
  cols: 3,
  'label-width': '110px',
  'input-enter-submit':true,
  fields:[
    {
      type:'input',
      prop: 'phone',
      label: '手机',
    },
    {
      type:'input',
      prop: 'templateCodeName',
      label: '名称',
    },
    {
      type:'input',
      prop: 'code',
      label: '券码',
    },
  ],
  'btns-position':'',
  'btns-style':{
    'margin': 0,
    'justify-content': 'flex-start'
  },
  buttons:[
    {
      text:'查询',
      icon:'el-icon-search',
      cls:'search-btn',
      event: 'submit',
    },
  ]
}

export const colList = [
  {
    prop: "accountPhone",
    label: '手机号',
    width: 120
  },
  {
    prop: "couponTemplateName",
    label: '名称',
    width: 120
  },
  {
    prop: "couponCode",
    label: '兑换码',
    width: 150
  },
  {
    prop: "statusName",
    label: '状态',
    width: 120
  },
  {
    prop: "getCouponTime",
    label: '领取时间',
    width: 160
  },
  {
    prop: "getChannelName",
    label: '领取方式',
    width: 120
  },
  {
    prop: "useBeginDate",
    label: '有效期',
    width: 200
  },
  {
    prop: "couponTemplateCode",
    label: 'code',
    width: 300
  },
]
